import request from '@/utils/request'

const getPage = params => request({ url: '/SysRole/GetPage', method: 'get', data: params})
const save = params => request({ url: '/SysRole/Save', method: 'post', data: params})
const remove = params => request({ url: '/SysRole/Remove', method: 'post', data: params})
const getAllMenuAndButton = params => request({ url: '/SysRole/GetAllMenuAndButton', method: 'get', data: params})
export {
  getPage,
  save,
  remove,
  getAllMenuAndButton
}